In combinatorial number theory, the Lambek–Moser theorem is a generalization of Beatty's theorem that defines a partition of the positive integers into two subsets from any monotonic integer-valued function. Conversely, any partition of the positive integers into two subsets may be defined from a monotonic function in this way.
The theorem was discovered by Leo Moser and Joachim Lambek. Dijkstra (1980) provides a visual proof of the result.[1]
Contents |
The theorem applies to any non-decreasing and unbounded function ƒ that maps positive integers to non-negative integers. From any such function ƒ, define ƒ* to be the integer-valued function that is as close as possible to the inverse function of ƒ, in the sense that, for all n,
Further, define
Then the result states that F and G are strictly increasing and that the ranges of F and G form a partition of the positive integers.
Let ƒ(n) = n2;[2] then . Thus F(n) = n2 + n and For n = 1, 2, 3, ... the values of F are the pronic numbers
while the values of G are
These two sequences are complementary: each positive integer belongs to exactly one of them. The Lambek–Moser theorem states that this phenomenon is not specific to the pronic numbers, but rather it arises for any choice of ƒ with the appropriate properties.
Beatty's theorem, defining a partition of the integers from rounding their multiples by an irrational number r > 1, can be seen as an instance of the Lambek–Moser theorem. In Beatty's theorem, and where . The condition that r (and therefore s) be greater than one implies that these two functions are non-decreasing; the derived functions are and The sequences of values of F and G forming the derived partition are known as Beatty sequences.
The Lambek–Moser theorem is universal, in the sense that it can explain any partition of the integers into two infinite parts. If S = s1,s2,... and T = t1,t2,... are any two infinite subsets forming a partition of the integers, one may construct a pair of functions ƒ and ƒ* from which this partition may be derived using the Lambek–Moser theorem: define ƒ(n) = sn − n and ƒ*(n) = tn − n.
For instance, consider the partition of integers into even and odd numbers: let S be the even numbers and T be the odd numbers. Then sn = 2n, so ƒ(n) = n and similarly ƒ*(n) = n − 1. These two functions ƒ and ƒ* form an inverse pair, and the partition generated via the Lambek–Moser theorem from this pair is just the partition of the positive integers into even and odd numbers.
Lambek and Moser discuss formulas involving the prime-counting function for the functions ƒ and ƒ* arising in this way from the partition of the positive integers into prime numbers and composite numbers.